package com.yaorange.nongjt.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 合格证统计数据对象 njt_certificate_count
 * 
 * @author juheng
 * @date 2025-02-28
 */
public class NjtCertificateCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户注册表Id */
    @Excel(name = "用户注册表Id")
    private Long userId;

    /** 注册手机号 */
    @Excel(name = "注册手机号")
    private String mobilePhone;

    /** 生产主体 */
    @Excel(name = "生产主体")
    private String companyName;

    /** 法人名称 */
    @Excel(name = "法人名称")
    private String legalPersonName;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String area;

    /** 乡镇/街道 */
    @Excel(name = "乡镇/街道")
    private String country;

    /** 开具日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开具日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date printDate;

    /** 开具数量 */
    @Excel(name = "开具数量")
    private Long printNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品重量 */
    @Excel(name = "产品重量")
    private BigDecimal productWeight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() 
    {
        return mobilePhone;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setPrintDate(Date printDate) 
    {
        this.printDate = printDate;
    }

    public Date getPrintDate() 
    {
        return printDate;
    }
    public void setPrintNumber(Long printNumber) 
    {
        this.printNumber = printNumber;
    }

    public Long getPrintNumber() 
    {
        return printNumber;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductWeight(BigDecimal productWeight) 
    {
        this.productWeight = productWeight;
    }

    public BigDecimal getProductWeight() 
    {
        return productWeight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("mobilePhone", getMobilePhone())
            .append("companyName", getCompanyName())
            .append("legalPersonName", getLegalPersonName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("country", getCountry())
            .append("printDate", getPrintDate())
            .append("printNumber", getPrintNumber())
            .append("productName", getProductName())
            .append("productWeight", getProductWeight())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
